<template>
	<view v-if="show" class="main">
		<view class="p-right">
			<image class="item-img" :src="img_url+'images/pay/promote-fill.png'" mode=""></image>
		</view>
		<view class="p-font">
			请在菜单中选择在浏览器中打开，以完成支付
		</view>
		<view class="p-right">
			<image class="item-img2" :src="img_url+'images/pay/alipay-guild.png'" mode=""></image>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				url: '',
				show:false,
				img_url: this.$api.img_url,
			}
		},
		onLoad(options) {
			this.url = options.url;
			if(this.$http.getPlatform() != 'wechat'){
				location.href=this.url
			}else{
				this.show = true
			}
		},
		methods: {
			
		}
	}
</script>

<style>
.main{
	margin-right: 20rpx;
}
.p-font{
	margin-left:55%;
	margin-bottom:50rpx;
}
.p-right{
	text-align:right;
	margin-bottom: 50rpx;
}
.item-img {
	width: 100rpx;
	height: 100rpx;
	margin-right: 30rpx;
}
.item-img2 {
	width: 300rpx;
	height: 300rpx;
	margin-right: 30rpx;
}
</style>
